﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CardCenter/card.master" AutoEventWireup="true" CodeFile="QueryResult.aspx.cs" Inherits="CardCenter_QueryResult" %>

<asp:Content ID="PurchaseHistoryQuery" ContentPlaceHolderID="head1" Runat="Server">
     <script type="text/javascript" src="../Scripts/jquery-min-lastest.js"></script>
    <script src="../Scripts/jquery-ui-all-min-lastest.js" type="text/javascript"></script>    
    <script type="text/javascript" src="../Scripts/aboutverifycode.js"></script>
    <script type="text/javascript" src="../Scripts/My97DatePicker/WdatePicker.js"></script>
    <% if (false)
       {%><script src="../Scripts/jquery-vsdoc-lastest.js" type="text/javascript"></script>
    <% }%>
    
    <script type="text/jscript">      
        
    
       function showDiv(show)   
       {   
           //  document.getElementById('yanzheng').style.display   =   show;     
       }   
       
   </script> 
   
    <style type="text/css">
        
        .style1
        {
            width: 100%;
            font-weight:bold;
            font-size:14px;
            text-align:center;
            height:45px;
        }
        .style2
        {
            width: 89px;
        }
        .style3
        {
            width: 165px;
        }
        .style7
        {
            width: 216px;
            text-align:center;
        }
        #yanzheng
        {
    	width:729px;
    	height:91px;
        	}
        .style11
        {
            width: 100%;
            height: 45px;
        }
        .style12
        {
            width: 107px;
            height: 45px;
            text-align:center;
            font-weight:bold;
            font-size:14px;
            text-align:center;
        }
        .style13
        {
            width: 26px;
        }
        .style15
        {
            width: 180px;
        }
        .style16
        {
            width: 250px;
        }
         .style17
        {
            width: 100%;
            height: 40px;
            width: 725px;
            height: 41px;
            text-align:center;
            font-weight:bold;
            font-size:14px;
            text-align:center;
        } 

        .btn {
             BORDER-RIGHT: #7b9ebd 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7b9ebd 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 13px;
             FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde); 
             BORDER-LEFT: #7b9ebd 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7b9ebd 1px solid; height:28px;
        }
        .style18
        {
            width: 109px;
        }
        .style19
        {
            width: 230px;
        }
        .style20
        {
            width: 169px;
            text-align: center;
        }
        .s4
        {
        	text-align:left;
        }
    </style>
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="r" Runat="Server">
<form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManagerConsume" runat="server">
    </asp:ScriptManager>
    <div id="r1"><div id="r11"><a href="OnlinePurchaseCardStep1.aspx">&nbsp;&nbsp;卡务中心</a><a href="PurchaseHistoryQuery.aspx">&nbsp;&nbsp;>>购卡历史查询</a>&nbsp;&nbsp;>>查询结果</div></div>
    <div style="width:729px; height:41px;">
    <div style="width:20px; height:41px; float:left;"></div>
    <div style="width:32px; height:41px; float:left;">
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/CardCenterImg/hui1.jpg" /></div>
    <div style="width:150px; height:41px; float:left;text-align:center; font-size:12px; font-weight:bold; line-height:31px;">
        <asp:Label ID="bu1" runat="server" Text="输入手机号申请验证码" Font-Bold="True" 
            Font-Size="12px" ForeColor="Black"></asp:Label></div>
    <div style="width:32px; height:41px; float:left;">
        <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/CardCenterImg/cai2.jpg" /></div>
    <div style="width:60px; height:41px; float:left;text-align:center; font-size:12px; font-weight:bold; line-height:31px; color:Gray;"><asp:Label ID="bu2" runat="server" Text="查询结果" Font-Bold="True" 
            Font-Size="12px" ForeColor="Gray"></asp:Label></div>
    </div>
    
    <div style="border-top:16px #fff solid; line-height:16px;"></div>
    <div style="border-bottom:8px #fff solid; border-top:dotted thin #ccc; line-height:8px; width:729px;"></div>
    <table>
        <tr>
            <td class="s4">
                                   <%-- DataGrid --%>
                 <asp:UpdatePanel ID="purchaseHistory" runat="server" EnableViewState="false">
                     <ContentTemplate>
                         <div id="container">
                         <asp:GridView ID="Grid_History" runat="server" BackColor="White" AutoGenerateColumns="False"
                             BorderColor="#000066" BorderStyle="Solid" BorderWidth="1px" CellPadding="5" 
                             EmptyDataText="没有数据" Width="530px">
                             <FooterStyle BackColor="White" ForeColor="#000066" />
                             <RowStyle ForeColor="#000066" HorizontalAlign="Center" />
                             <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Center" />
                             <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                             <HeaderStyle BackColor="#142047" Font-Bold="True" ForeColor="White" 
                                 Font-Size="13px" Height="30px" />
                             <AlternatingRowStyle BackColor="#E8F3FF" />
                             <%-- 绑定列 --%>
                             <%-- S_Time,S_CardNO,S_MobileNO,S_CardPoints,S_PayMoney,S_PayType--%>
                               <EmptyDataRowStyle Font-Size="13px" Width="13px" />
                               <EditRowStyle Width="13px" />
                               <Columns>
                                <asp:BoundField DataField="S_Time" HeaderText="购卡时间" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                   </asp:BoundField>
                                <asp:BoundField DataField="S_CardNO" HeaderText="卡号" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                   </asp:BoundField>
                                <asp:BoundField DataField="S_MobileNO" HeaderText="购卡手机" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                   </asp:BoundField>
                                <asp:BoundField DataField="S_CardPoints" HeaderText="购卡点数" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                </asp:BoundField>
                                <asp:BoundField DataField="S_PayMoney" HeaderText="支付金额" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                </asp:BoundField>
                                 <asp:BoundField DataField="S_PayType" HeaderText="支付方式" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                </asp:BoundField>
								<asp:BoundField DataField="State" HeaderText="咨询卡状态" >
                                    <ItemStyle Font-Size="12px" Height="30px" />
                                 </asp:BoundField>
                              </Columns>
                         </asp:GridView>
                           <br />
                         <div class="s4">
                             <asp:LinkButton ID="lnkbtnFrist" runat="server" OnClick="lnkbtnFrist_Click" CssClass="lylink">首页</asp:LinkButton> 
                        <asp:LinkButton ID="lnkbtnPre" runat="server" OnClick="lnkbtnPre_Click" Text="<<上一页" CssClass="lylink"></asp:LinkButton> 
                        <asp:Label ID="lblCurrentPage" runat="server"></asp:Label> 
                        <asp:LinkButton ID="lnkbtnNext" runat="server" OnClick="lnkbtnNext_Click" CssClass="lylink">下一页>></asp:LinkButton> 
                        <asp:LinkButton ID="lnkbtnLast" runat="server" OnClick="lnkbtnLast_Click" CssClass="lylink">尾页</asp:LinkButton> 
                         <asp:Label ID="LblTest" runat="server" Text=""></asp:Label>
                        </div> 
                 </div>            
                     </ContentTemplate>
                 </asp:UpdatePanel>
                 跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DdlCurrentPage_SelectedIndexChanged"> 
                        </asp:DropDownList>页
            </td>
        </tr>
    </table>
    
    <div style="border-top:16px #fff solid; line-height:16px;"></div>
    <div style="border-bottom:8px #fff solid; border-top:dotted thin #ccc; line-height:8px; width:729px;"></div>
    <div style="border-top:16px #fff solid; line-height:16px;"></div>
       <script type="text/javascript">
        //<![CDATA[
        GetComment(1, 1);
        //]]>
        </script>    
</form>
</asp:Content>
